package com.lx.security.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lX
 * @version JDK 8
 * @className AdminContoller (此处以class为例)
 * @date 2024/12/4
 * @description TODO
 */
@RestController
@RequestMapping("admin")
public class AdminController {

    @GetMapping("/demo")
    public String  demo(){
        return "hello world";
    }
}
